package com.team.abs.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.team.abs.dao.user_status;
import com.team.abs.entity.simple_user;
import com.team.abs.entity.user_item;
@Service
public class user_status_service implements user_status{
	@Autowired
	private user_status user_status;
	@Override
	public int insert_simple_user(simple_user simple_user) {
		return this.user_status.insert_simple_user(simple_user);
	}

	@Override
	public int update_password(String user_uid, String passwod) {
		return this.user_status.update_password(user_uid, passwod);
	}

	@Override
	public int update_message(String user_uid, String message) {
		return this.user_status.update_message(user_uid, message);
	}

	@Override
	public Integer search_simple_user(String user_uid) {
		return this.user_status.search_simple_user(user_uid);
	}

	@Override
	public simple_user search_by_uid(String user_uid) {
		return this.user_status.search_by_uid(user_uid);
	}

	@Override
	public int updata_qq_tel_message(String user_uid, String user_qq, String user_tel, String user_message) {
		return this.user_status.updata_qq_tel_message(user_uid, user_qq, user_tel, user_message);
	}

	@Override
	public user_item find_user_item(int item_id) {
		return this.user_status.find_user_item(item_id);
	}

	@Override
	public int delete_item(String user_uid, int item_id) {
		return this.user_status.delete_item(user_uid, item_id);
	}

	@Override
	public int update_item(int item_id, int item_end, int item_price) {
		return this.user_status.update_item(item_id, item_end, item_price);
	}

	

}
